pull: Stage metadata objects asynchronously
authorColin Walters <walters@verbum.org>
Thu, 4 Oct 2012 22:24:37 +0000 (18:24 -0400)
committerColin Walters <walters@verbum.org>
Thu, 4 Oct 2012 22:24:37 +0000 (18:24 -0400)
commit5b8e8333517743ad35d514f58d3adfd950dd6d45
treeeeb9e951d74dde6963aa1e33fdcab4736c606615
parentf1b4db15a2c078b107797ecd25477aafa45f5dc8
pull: Stage metadata objects asynchronously

This avoids the main thread being blocked on fdatasync(); also as a
bonus we checksum metadata in a separate thread too.
src/libostree/ostree-repo.c
src/libostree/ostree-repo.h
src/ostree/ostree-pull.c